export const rules = {
  name: [{
    required: true,
    message: 'please enter name',
    trigger: 'blur'
  }]
}

export function Model(name = '', desc = '', permissions = []) {
  this.name = name
  this.desc = desc
  this.permissions = permissions
}

export function SearchModel() {}